define([
        'backbone',       
        '../../models/category/Mcategory',
        'GlobalConfiguration',
        ], 
function(
        Backbone,        
        ModelCategories,
        GConfigs
        ) {

    var CollectionDistinctCityandProducts = Backbone.Collection.extend({
               
        url: function () {            
            var URL = GConfigs.CONSTANTS.PROTOCOL + "://" +
                      GConfigs.CONSTANTS.HOST_NAME + ":" +
                      GConfigs.CONSTANTS.PORT_NO +
                      GConfigs.CONSTANTS.REST_PATH +
                      GConfigs.API.fetchDistinctCities
           
            return URL;
        },
        parse: function (data) {           
            return data.rows;
        }
    });
    return CollectionDistinctCityandProducts;
});



